package com.accenture.portal.model;

import java.util.Date;

public class Image
{
	private int imgid;
	private String imgurl;
	private Boolean effective;
	private Date effectivetime;
	
	public Image() {
		super();
	}
	
	public Image(Date effectivetime, String imgurl, Boolean effective) {
		super();
		this.effectivetime = effectivetime;
		this.imgurl = imgurl;
		this.effective = effective;
	}
	
	public Image(String imgurl, Boolean effective, Date effectivetime) {
		super();
		this.imgurl = imgurl;
		this.effective = effective;
		this.effectivetime = effectivetime;
	}
	
	public int getImgid()
	{
		return imgid;
	}
	public void setImgid(int imgid)
	{
		this.imgid = imgid;
	}
	public String getImgurl()
	{
		return imgurl;
	}
	public void setImgurl(String imgurl)
	{
		this.imgurl = imgurl;
	}
	public Boolean getEffective()
	{
		return effective;
	}
	public void setEffective(Boolean effective)
	{
		this.effective = effective;
	}
	//@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") 
	public Date getEffectivetime()
	{
		return effectivetime;
	}
	public void setEffectivetime(Date effectivetime)
	{
		this.effectivetime = effectivetime;
	}
}
